package com.qianfeng.zhangwei.day27.fragment;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.CheckBox;

import com.qianfeng.zhangwei.day27.R;
/**
 *
 *
 */
public class TestFragment extends Fragment {
    public static final String LEFT_DATA_URL = "http://www.wanzhoumo.com/wanzhoumo?UUID=00000000-6578-76c8-ffff-ffff974d8251&app_key=800000002&app_v_code=27&app_v_name=2.1.1&format=json&method=other.genrelist&os=android&r=wanzhoumo&sign=24d362bfe570112dd9233b607c1f4701&timestamp=1406034373&type=activity&v=2.0";
    private static final String ARG_PARAM1 = "param1";
    private static final String ARG_PARAM2 = "param2";
    private String mParam1;
    private String mParam2;
    private CheckBox checkBox;




    public static TestFragment newInstance(String param1, String param2) {
        TestFragment fragment = new TestFragment();
        Bundle args = new Bundle();
        args.putString(ARG_PARAM1, param1);
        args.putString(ARG_PARAM2, param2);
        fragment.setArguments(args);
        return fragment;
    }

    public TestFragment() {

    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        if (getArguments() != null) {
            mParam1 = getArguments().getString(ARG_PARAM1);
            mParam2 = getArguments().getString(ARG_PARAM2);
        }
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_test, container, false);
        return view;
    }

}
